import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import viteCompression from 'vite-plugin-compression'
// https://vitejs.dev/config/
export default defineConfig({
  plugins: [
    vue(),
    viteCompression({
      deleteOriginFile: false,
      algorithm: "gzip",
      ext: '.gz',
    })
  ],
  base:" /light-window-v3",
  build:{
    outDir:"light-window-v3",
    minify: 'terser',
    terserOptions: {
        compress: {
          drop_console: true,
          drop_debugger: true
        }
    }
  }
})
